
export class GrowlMessageType {
    static Info: GrowlMessageType = new GrowlMessageType("info", 0);
    static Warning: GrowlMessageType = new GrowlMessageType("warn", 1);
    static Error: GrowlMessageType = new GrowlMessageType("error", 2);
    static Success: GrowlMessageType = new GrowlMessageType("success", 3);

    private name: string;
    private value: number;
    constructor(name: string, value: number) {
        this.name = name;
        this.value = value;
    }

    get Name(): string { return this.name; }
    get Value(): number { return this.value; }
}
